lib/repo: Minor cleanup to object import function
authorColin Walters <walters@verbum.org>
Mon, 18 Sep 2017 19:46:03 +0000 (15:46 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 19 Sep 2017 18:51:03 +0000 (18:51 +0000)
commit3e564116b26992fa68f82abb3da08f7572151554
treeaeeafe6e8cbf02bbcc3c5f99f61d161e44783a03
parent223c940b46a4bb335665df7436566b73cdf0effd
lib/repo: Minor cleanup to object import function

We have a lot of layers of abstraction here; let's fold in the `trusted`
conditional into the call, since that's all the public API we're using does
anyways.

Prep for a future patch around object copying during imports.

Closes: #1187
Approved by: jlebon
src/libostree/ostree-repo.c